package javalearning.Proxy;

public class Main {

    public static void main(String[] args) {
        IWork object = new Working();
        ProxyFactory proxy = new ProxyFactory(object);
        IWork fun = (IWork) proxy.fun();
        fun.work();
    }
}
